use crate::vo::sys_menu_vo::MenuVo;

/// 登录参数
#[derive(Debug, serde::Serialize, serde::Deserialize, Clone)]
pub struct LoginReq {
    /// 用户名称
    pub user_name: Option<String>,
    /// 密码
    pub password: Option<String>,
    /// 组织结构
    pub org_id: Option<i64>,
}


#[derive(Debug, serde::Serialize, serde::Deserialize, Clone)]
pub struct UserRolesMenusVo {
    pub user_id: Option<i64>,
    pub admin: Option<i64>,
    pub role_id: Option<i64>,
    pub role_name: Option<String>,
    pub menus: Vec<MenuVo>,
}
